package com.rykj.qxj.test.xtest;

public class ReplaceSql {
	public static void main(String[] args) {
		
		String regexp = "\'";
		String sql="UPDATE wp_user SET username = :username WHERE wp_user.id = ':id'";
		String sqlInsert="INSERT INTO wp_post(post_title,user_id) VALUES(:postTitle,:userId)";
		System.out.println(sql);
		String replaceAll = sql.replaceAll(regexp,"");
		System.out.println(replaceAll);
		System.out.println(sqlInsert);
		System.out.println(sqlInsert.replaceAll(regexp, ""));
		
	}
	

}
